two pointers technique

join shbcf.ru